package executer;

import java.util.Date;

/**
 * TODO
 *
 * @author 司松坡
 * @createTime 2023年05月23日
 */
public class Test {

    @org.junit.Test
    public void test(){
        Test1 test1 = new Test1();
        Test2 test2 = new Test2();
        for (int i = 0; i < 100; i++) {
            test1.test();
            test2.test();
        }
    }

    @org.junit.Test
    public void test1(){
        String a = "123";
        String b = "123";
        int i = 1;
        String c = new String("123");
        String d = new String("123");
        System.out.println(System.identityHashCode(a));
        System.out.println(System.identityHashCode(b));
        System.out.println(System.identityHashCode(c));
        System.out.println(System.identityHashCode(d));

        a= "23112qw1";
        System.out.println();



        System.out.println(i);




    }

}
